package com.scnb.memento;

/**
 * Memento被称为备忘录，用来存储原发器Originator对象的内部状态
 */

public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
